package com.nineplus.ticketcenter.dao;

import com.nineplus.ticketcenter.domain.Event;
import com.nineplus.ticketcenter.vo.search.EventSearchCriteriaVO;
import java.util.List;
import org.springframework.data.domain.Pageable;

/**
 *
 * @author Zuui
 */
public interface EventDao extends AbstractDao<Event, Long> {

    List<Event> findEventsByCriteria(EventSearchCriteriaVO searchCriteria, Pageable pageable);

    Long countEventsByCriteria(EventSearchCriteriaVO searchCriteria);
}
